#include "Shotgun.h"


Shotgun::Shotgun() {
}


Shotgun::~Shotgun() {
}


void Shotgun::Initialize(sf::RenderWindow* window, EnemyManager* enyman, sf::Texture* image) {	
	m_renderWindow = window;
	//shotgunTexture.loadFromFile("bilder/weapons/shotgun.png");
	//shotgunTexture.loadFromFile("bilder/weapons/shotgun.png");
	shotgunSprite.setTexture(*image);
	//shotgunSprite.setPosition(-1000,-1000);
}

void Shotgun::Update() {
	m_renderWindow->draw(shotgunSprite);
	//std::cout << shotgunSprite.getPosition().x << " " << shotgunSprite.getPosition().y << std::endl;
}


void Shotgun::Cleanup() {

}


void Shotgun::setPositionShotgun(float PosX, float PosY) {
	shotgunSprite.setPosition(PosX, PosY);
};

